use thiserror::Error;

#[derive(Error, Debug)]
pub enum InvalidInstructionError {
    #[error("invalid command : {0}")]
    Command(String),
    #[error("invalid file, must be a .vm file : {0}")]
    FileExt(String),
    #[error("invalid argument : {0}")]
    Argument(String),
    #[error("invalid argument value : {0}")]
    ArgumentValue(String),
    #[error("invalid command type : {0}")]
    CommandType(String),
}
